package com.ouc.openplatform.ouc.authManage.service;
import java.util.List;
import com.ouc.openplatform.ouc.authManage.model.NJ_RoleInfo;
import com.ouc.openplatform.pojo.EUDataGridResult;
public interface NJ_RoleInfoService {
	//1.增加角色信息----sxl
	public int saveRoleInfo(NJ_RoleInfo roleinfo);
	//2.删除角色信息----sxl
	public int deleteRoleInfo(int id);
	//3.修改角色信息-----sxl
	public int updateRoleInfo(NJ_RoleInfo roleinfo);
	//4.查询角色信息-----sxl
	EUDataGridResult getRoleInfo(NJ_RoleInfo roleinfo,int page, int rows);
	//5.获取角色信息总条数-----sxl
	public int getAllCount();
	//6.判断角色名是否存在-----sxl
	public int IsRoleName(String rolename);
	//7.查询所有角色权限信息-----sxl
	public List<NJ_RoleInfo> getAllRoleInfo(NJ_RoleInfo roleInfo);
}
